package com.groupbuying.currency.producer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.currency.producer.dao.CurrencyPlatformLogDao;
import com.groupbuying.currency.producer.domain.CurrencyPlatformLogDO;
import com.groupbuying.currency.producer.service.CurrencyPlatformLogService;



@Service
public class CurrencyPlatformLogServiceImpl implements CurrencyPlatformLogService {
	@Autowired
	private CurrencyPlatformLogDao currencyPlatformLogDao;
	
	@Override
	public CurrencyPlatformLogDO get(String logId){
		return currencyPlatformLogDao.get(logId);
	}
	
	@Override
	public List<CurrencyPlatformLogDO> list(Map<String, Object> map){
		return currencyPlatformLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return currencyPlatformLogDao.count(map);
	}
	
	@Override
	public int save(CurrencyPlatformLogDO currencyPlatformLog){
		return currencyPlatformLogDao.save(currencyPlatformLog);
	}
	
	@Override
	public int update(CurrencyPlatformLogDO currencyPlatformLog){
		return currencyPlatformLogDao.update(currencyPlatformLog);
	}
	
	@Override
	public int remove(String logId){
		return currencyPlatformLogDao.remove(logId);
	}
	
	@Override
	public int batchRemove(String[] logIds){
		return currencyPlatformLogDao.batchRemove(logIds);
	}
	
}
